package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Buyrecord;
import cn.wolfcode.crm.query.QueryObject;
import java.util.List;

public interface BuyrecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Buyrecord record);

    Buyrecord selectByPrimaryKey(Long id);

    List<Buyrecord> selectAll();

    int updateByPrimaryKey(Buyrecord record);

    List<Buyrecord> selectForList(QueryObject qo);

    void updateStatus(Long id);

}